<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>国内网址导航</title>
	<link rel="icon" href="./favicon.ico" type="image/x-icon">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
        }
        
        body {
            background-color: #f5f7fa;
            color: #333;
            padding: 20px;
            max-width: 1200px;
            margin: 0 auto;
        }
        
        header {
            text-align: center;
            margin: 20px 0 40px;
        }
        
        h1 {
            color: #e53e3e;
            font-size: 2.5rem;
            margin-bottom: 15px;
        }
        
        .search-container {
            background: white;
            border-radius: 25px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            display: flex;
            overflow: hidden;
            width: 100%;
            max-width: 700px;
            margin: 0 auto;
        }
        
        #search-input {
            flex: 1;
            border: none;
            padding: 18px 25px;
            font-size: 1.1rem;
            outline: none;
        }
        
        #search-btn {
            background: #e53e3e;
            color: white;
            border: none;
            padding: 0 30px;
            font-size: 1.1rem;
            cursor: pointer;
            transition: background 0.3s;
        }
        
        #search-btn:hover {
            background: #c53030;
        }
        
        .category {
            margin: 30px 0;
        }
        
        .category-title {
            font-size: 1.5rem;
            color: #2d3748;
            padding-bottom: 10px;
            border-bottom: 2px solid #e53e3e;
            margin-bottom: 20px;
        }
        
        .grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 20px;
        }
        
        .link-card {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            transition: all 0.3s ease;
            box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
            text-align: center;
            display: block;
            text-decoration: none;
            color: #333;
            padding: 20px 10px;
        }
        
        .link-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
            background: #fff5f5;
        }
        
        .icon {
            font-size: 2.5rem;
            margin-bottom: 15px;
            color: #e53e3e;
        }
        
        .link-name {
            font-size: 1.1rem;
            font-weight: 500;
        }
        
        #back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 60px;
            height: 60px;
            background: #e53e3e;
            color: white;
            border-radius: 50%;
            display: none;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            font-size: 1.5rem;
            transition: all 0.3s;
            z-index: 100;
            border: none;
        }
        
        #back-to-top:hover {
            background: #c53030;
            transform: scale(1.1);
        }
        
        @media (max-width: 768px) {
            .grid {
                grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            }
            
            #search-input {
                padding: 15px 20px;
            }
            
            h1 {
                font-size: 2rem;
            }
        }
    </style>
</head>
<body>
    <header>
        <h1>国内网址导航</h1>
        <div class="search-container">
            <input type="text" id="search-input" placeholder="请输入搜索内容...">
            <button id="search-btn">百度搜索</button>
        </div>
    </header>
    
    <section class="category">
        <h2 class="category-title">常用网站</h2>
        <div class="grid">
            <a href="https://www.baidu.com" target="_blank" class="link-card">
                <div class="icon">🔍</div>
                <div class="link-name">百度搜索</div>
            </a>
            <a href="https://yuanbao.tencent.com" target="_blank" class="link-card">
                <div class="icon">💎</div>
                <div class="link-name">腾讯元宝</div>
            </a>
            <a href="https://www.taobao.com" target="_blank" class="link-card">
                <div class="icon">🛒</div>
                <div class="link-name">淘宝购物</div>
            </a>
            <a href="https://www.jd.com" target="_blank" class="link-card">
                <div class="icon">📦</div>
                <div class="link-name">京东商城</div>
            </a>
            <a href="https://weibo.com" target="_blank" class="link-card">
                <div class="icon">💬</div>
                <div class="link-name">微博</div>
            </a>
        </div>
    </section>
    
    <section class="category">
        <h2 class="category-title">视频娱乐</h2>
        <div class="grid">
            <a href="https://www.douyin.com" target="_blank" class="link-card">
                <div class="icon">🎵</div>
                <div class="link-name">抖音</div>
            </a>
            <a href="https://www.bilibili.com" target="_blank" class="link-card">
                <div class="icon">📺</div>
                <div class="link-name">哔哩哔哩</div>
            </a>
            <a href="https://v.qq.com" target="_blank" class="link-card">
                <div class="icon">🎬</div>
                <div class="link-name">腾讯视频</div>
            </a>
            <a href="https://www.iqiyi.com" target="_blank" class="link-card">
                <div class="icon">🍿</div>
                <div class="link-name">爱奇艺</div>
            </a>
            <a href="https://www.youku.com" target="_blank" class="link-card">
                <div class="icon">📼</div>
                <div class="link-name">优酷</div>
            </a>
        </div>
    </section>
    
    <section class="category">
        <h2 class="category-title">学习资源</h2>
        <div class="grid">
            <a href="https://www.zhihu.com" target="_blank" class="link-card">
                <div class="icon">❓</div>
                <div class="link-name">知乎</div>
            </a>
            <a href="https://www.xuexi.cn" target="_blank" class="link-card">
                <div class="icon">📖</div>
                <div class="link-name">学习强国</div>
            </a>
            <a href="https://mooc.icve.com.cn" target="_blank" class="link-card">
                <div class="icon">🎓</div>
                <div class="link-name">慕课网</div>
            </a>
            <a href="https://www.ruanyifeng.com" target="_blank" class="link-card">
                <div class="icon">💻</div>
                <div class="link-name">阮一峰博客</div>
            </a>
            <!-- 新增两个英语学习网站 -->
            <a href="https://www.vocabulary.com" target="_blank" class="link-card">
                <div class="icon">📚</div>
                <div class="link-name">Vocabulary</div>
            </a>
            <a href="https://word.iciba.com" target="_blank" class="link-card">
                <div class="icon">🔤</div>
                <div class="link-name">爱词霸</div>
            </a>
        </div>
    </section>
    
    <button id="back-to-top">↑</button>

    <script>
        // 百度搜索功能
        document.getElementById('search-btn').addEventListener('click', function() {
            searchBaidu();
        });
        
        document.getElementById('search-input').addEventListener('keypress', function(e) {
            if (e.key === 'Enter') {
                searchBaidu();
            }
        });
        
        function searchBaidu() {
            const searchTerm = document.getElementById('search-input').value;
            if (searchTerm.trim() !== '') {
                const encodedTerm = encodeURIComponent(searchTerm);
                window.open(`https://www.baidu.com/s?wd=${encodedTerm}`, '_blank');
            }
        }
        
        // 回到顶部按钮
        const backToTopBtn = document.getElementById('back-to-top');
        
        window.addEventListener('scroll', function() {
            if (window.pageYOffset > 300) {
                backToTopBtn.style.display = 'flex';
            } else {
                backToTopBtn.style.display = 'none';
            }
        });
        
        backToTopBtn.addEventListener('click', function() {
            window.scrollTo({
                top: 0,
                behavior: 'smooth'
            });
        });
    </script>
</body>
</html>